<link href="/admins/css/adminshare.css" media="screen" rel="stylesheet" type="text/css" > 
<link href="/css/home/warehouse.css" media="screen" rel="stylesheet" type="text/css" >
 <script type="text/javascript" src="/admins/js/jquery/jquery-1.7.2.min.js"></script>
<style>
    table{
        font-size: 12px;
    }
</style>
<div class="qdcc" id="bodystore">
        <div class="qdtop">
            <table>
                <tr>
                    <th class="qd">&nbsp</th>
                    <th class="qd1">物品编号</th>
                    <th class="qd2">名称</th>
                    <th class="qd3">净重(kg)</th>
                    <th class="qd4">材重(kg)</th>
                </tr>
            </table>
        </div>
        <?php
        if ($this->storelist != '') {
            foreach ($this->storelist as $Item) {
                ?>
                <div class="tabletd" id="div<?php echo $Item->id; ?>">
                    <table>
                        <tr>
                            <td class="qd">
                                <input type="checkbox" id="storeid" name="storeid" value="<?php echo $Item->id; ?>" style="margin-top: 10px;"/>
                            </td>
                            <td class="qd1">
                                <p><?php echo $Item->barcode; ?></p>
                                <span><?php echo date("Y-m-d", strtotime($Item->createdate)); ?></span>
                            </td>	
                            <td class="qd2">
                                <div class="whpic">
                                    <a href="<?= $this->cdn ?><?= is_file('big' . $Item->imageFile) ? ('/big' . $Item->imageFile) : ($Item->imageFile) ?>"  target="_blank"><img src="<?php echo $this->cdn; ?><?php echo $Item->image; ?>" /></a>
                                </div>
                                <div class="whinfo" style="width:265px;">
                                    <h2><a href="/admini/managestore/storedetail/id/<?php echo $Item->id; ?>"  target="_blank"><?php echo $Item->productName; ?></a></h2>
                                    <div class="tez"><?php if (($Item->itemType == 0 || $Item->itemType == "") && $Item->bignessType == 0) { } else { ?>
                                            <label>包裹特征：</label>
                                            <ul class="wupintz"><?php if ($Item->itemType != 0) { ?>
                                                    <li><? echo $Item->ItemTypeName;?></li><?php } ?>
                                                        <?php if ($Item->bignessType != 0) { ?>
                                                    <li><span><?php
                                                            switch ($Item->bignessType) {
                                                                case 0:
                                                                    echo "普通";
                                                                    break;
                                                                case 1:
                                                                    echo "轻抛";
                                                                    break;
                                                                case 2:
                                                                    echo "抛";
                                                                    break;
                                                                case 3:
                                                                    echo "重抛";
                                                                    break;
                                                                default:
                                                                    echo "普通";
                                                                    break;
                                                            }
                                                            ?></span></li><?php } ?>
                                            </ul>
                    <?php } ?>
                                    </div>
                                </div>
                            </td>	
                            <td class="qd3"><?php echo $Item->weight / 1000; ?></td>	
                            <td class="qd4"><?php echo $Item->weight > $Item->volumeWeight ? "无" : $Item->volumeWeight / 1000; ?></td>	
                        </tr>
                    </table>
        <?php if ($Item->remark) { ?>
                        <div class="qdbeizhu">
                            <div class="qdzxb"></div>
                            <label>清单：</label><?php echo $Item->remark; ?>
                        </div>
        <?php } ?>
                </div>
                
    <?php } ?>
        <div class="toolbar" style="height: 35px;padding-top: 0px;">
            <?php echo $this->partial('paging.phtml', array("pages" => $this->storeall)); ?>
        </div>
        <?php } ?>
    </div>